org.eclipse.vtp.desktop.projects.core
Interface IApplicationFragment

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IVoiceToolsResource
All Known Implementing Classes:
ApplicationFragment

public interface IApplicationFragment
extends IVoiceToolsResource

This interface represents the file resource that contains an application callflow definition. This definition stores the structure and visual properties of the application.

Version:
2.0
Author:
Trip Gilman

Method Summary
 java.lang.String getFragmentId()
           
 org.eclipse.core.resources.IFile getUnderlyingFile()
           
 java.io.InputStream read()
          Opens the application definition resource and returns an InputStream that will produce the byte contents of the resource.
 void write(java.io.InputStream in)
          Requests the contents of the application definition resource be replaced with the contents of the given input stream.
 
Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IVoiceToolsResource
addRefreshListener, deferEvents, getName, getParent, getProject, refresh, removeRefreshListener, resumeEvents
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getFragmentId

java.lang.String getFragmentId()

read

java.io.InputStream read()
                         throws org.eclipse.core.runtime.CoreException
Opens the application definition resource and returns an InputStream that will produce the byte contents of the resource.

Returns:
An input stream to the contents of the resource
Throws:
org.eclipse.core.runtime.CoreException - If an error occurs while opening the resource

write

void write(java.io.InputStream in)
           throws org.eclipse.core.runtime.CoreException
Requests the contents of the application definition resource be replaced with the contents of the given input stream.

Parameters:
in - An input stream to the new contents of the definition resource
Throws:
org.eclipse.core.runtime.CoreException - If and error occurs while storing the new definition contents

getUnderlyingFile

org.eclipse.core.resources.IFile getUnderlyingFile()